<div class="row">
<?
echo isset($system_message)?$system_message:'';
echo validation_errors('<div class="alert alert-danger">', '</div>');
$media_type = isset($media_types) ? $media_types->media_type : '';
?>	
	<fieldset>
	<legend class="label">Add/Edit Media Types</legend>
	<form action="" method="POST">
		<div class="input-block">
			<label>Name Of Type:</label>
			<input type="text" name="type[media_type]" value="<?=set_value('type[media_types]', $media_type);?>" required>
		</div>
		<div class="input-block">
			<input type="submit" class="button tiny" name="save_type" value="Save Media Types">
			<a href="<?=site_url('librarian/media_types')?>" class="button tiny">Cancel</a>
		</div>
	</form>
	</fieldset>
</div>